home *** CD-ROM | disk | FTP | other *** search
- on specA sNum, graphicNum
- setCursor(sNum)
- if rollOver(sNum) = 1 then
- set the visible of sprite graphicNum to 1
- else
- set the visible of sprite graphicNum to 0
- end if
- end
-
- on setCursor sNum
- set the cursor of sprite sNum to [cast "Hand Cursor", cast "hand cursor alpha"]
- end
-
- on specC sNum, graphicNum
- if rollOver(sNum) = 1 then
- set the visible of sprite graphicNum to 1
- else
- set the visible of sprite graphicNum to 0
- end if
- end
-
- on specCloc sNum, location
- if rollOver(sNum) = 1 then
- go(location)
- end if
- end
-
- on SpecD sNum, location
- set thisOne to the clickOn
- set the locH of sprite thisOne to the locH of sprite thisOne + 2
- set the locV of sprite thisOne to the locV of sprite thisOne + 2
- updateStage()
- puppetSound("click")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the locH of sprite thisOne to the locH of sprite thisOne - 2
- set the locV of sprite thisOne to the locV of sprite thisOne - 2
- updateStage()
- if the clickOn = sNum then
- go(location)
- else
- end if
- end
-
- on SpecE location
- puppetSound("click")
- go(location)
- end
-
- on balk n
- set endTime to the ticks
- set endTime to endTime + n
- repeat while the ticks < endTime
- end repeat
- end
-